package com.yike.order.service;

import com.yike.order.param.WxPayRequestParam;
import com.yike.order.param.WxQueryRequestParam;
import com.yike.order.param.WxRefundRequestParam;

import java.util.Map;

public interface WxPayService {

    /**
     * 扫码支付
     *
     * @param params
     * @return
     */
    Map<String, String> microPay(WxPayRequestParam params);

    /**
     * 退款
     *
     * @param params
     * @return
     */
    Map<String, String> refund(WxRefundRequestParam params);

    /**
     * 退款
     *
     * @param params
     * @return
     */
    Map<String, String> orderQuery(WxQueryRequestParam params);

}
